[INFO] cloning repository https://github.com/krakow10/binrw-cfg-variant-repro
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/krakow10/binrw-cfg-variant-repro" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkrakow10%2Fbinrw-cfg-variant-repro", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkrakow10%2Fbinrw-cfg-variant-repro'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] e5becc7a71868ed53d5ee3dd8d5343389e7d8b76
[INFO] checking krakow10/binrw-cfg-variant-repro against master#89a99936d9e76a50e8df622e7242190841fd871b for pr-156160-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkrakow10%2Fbinrw-cfg-variant-repro" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/krakow10/binrw-cfg-variant-repro
[INFO] finished tweaking git repo https://github.com/krakow10/binrw-cfg-variant-repro
[INFO] tweaked toml for git repo https://github.com/krakow10/binrw-cfg-variant-repro written to /workspace/builds/worker-5-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/krakow10/binrw-cfg-variant-repro on toolchain 89a99936d9e76a50e8df622e7242190841fd871b
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+89a99936d9e76a50e8df622e7242190841fd871b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/krakow10/binrw-cfg-variant-repro already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+89a99936d9e76a50e8df622e7242190841fd871b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded binrw v0.15.1
[INFO] [stderr]   Downloaded array-init v2.1.0
[INFO] [stderr]   Downloaded binrw_derive v0.15.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:fd22e2154e7db748230f413534f3a6d034160c9d2b7c14b90fba4e9bfc1a36d4" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] f8953451f8223f7b3906e654e32b864146787de7c293c4dd40361b0e96f7b11a
[INFO] running `Command { std: "docker" "start" "f8953451f8223f7b3906e654e32b864146787de7c293c4dd40361b0e96f7b11a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "f8953451f8223f7b3906e654e32b864146787de7c293c4dd40361b0e96f7b11a" "/opt/rustwide/cargo-home/bin/cargo" "+89a99936d9e76a50e8df622e7242190841fd871b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f8953451f8223f7b3906e654e32b864146787de7c293c4dd40361b0e96f7b11a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "f8953451f8223f7b3906e654e32b864146787de7c293c4dd40361b0e96f7b11a" "/opt/rustwide/cargo-home/bin/cargo" "+89a99936d9e76a50e8df622e7242190841fd871b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.106
[INFO] [stderr]    Compiling owo-colors v4.3.0
[INFO] [stderr]    Compiling binrw_derive v0.15.1
[INFO] [stderr]    Compiling either v1.15.0
[INFO] [stderr]    Compiling binrw v0.15.1
[INFO] [stderr]     Checking bytemuck v1.25.0
[INFO] [stderr]     Checking array-init v2.1.0
[INFO] [stderr]    Compiling quote v1.0.45
[INFO] [stderr]    Compiling syn v2.0.117
[INFO] [stderr]     Checking binrw-repro v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0599]: no variant, associated function, or constant named `Variant2` found for enum `MyEnum` in the current scope
[INFO] [stdout]   --> src/main.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | enum MyEnum {
[INFO] [stdout]    | ----------- variant, associated function, or constant `Variant2` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 14 |     Variant2(Variant2),
[INFO] [stdout]    |     ^^^^^^^^ variant, associated function, or constant not found in `MyEnum`
[INFO] [stdout]    |
[INFO] [stdout] help: there is a variant with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 14 -     Variant2(Variant2),
[INFO] [stdout] 14 +     Variant1(Variant2),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0599`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `binrw-repro` (bin "binrw-repro" test) due to 1 previous error
[INFO] [stdout] error[E0599]: no variant, associated function, or constant named `Variant2` found for enum `MyEnum` in the current scope
[INFO] [stdout]   --> src/main.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | enum MyEnum {
[INFO] [stdout]    | ----------- variant, associated function, or constant `Variant2` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 14 |     Variant2(Variant2),
[INFO] [stdout]    |     ^^^^^^^^ variant, associated function, or constant not found in `MyEnum`
[INFO] [stdout]    |
[INFO] [stdout] help: there is a variant with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 14 -     Variant2(Variant2),
[INFO] [stdout] 14 +     Variant1(Variant2),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] For more information about this error, try `rustc --explain E0599`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `binrw-repro` (bin "binrw-repro") due to 1 previous error
[INFO] running `Command { std: "docker" "inspect" "f8953451f8223f7b3906e654e32b864146787de7c293c4dd40361b0e96f7b11a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f8953451f8223f7b3906e654e32b864146787de7c293c4dd40361b0e96f7b11a", kill_on_drop: false }`
[INFO] [stdout] f8953451f8223f7b3906e654e32b864146787de7c293c4dd40361b0e96f7b11a
